export interface LoginForm {
  tenantId?: string;
  username?: string;
  password?: string;
  rememberMe?: boolean;
  socialCode?: string;
  socialState?: string;
  source?: string;
  code?: string;
  uuid?: string;
  clientId: string;
  grantType: string;
}

export interface SysUserVo {
  userId: number;
  tenantId: string;
  deptId: number;
  userName: string;
  nickName: string;
  userType: string;
  email: string;
  phonenumber: string;
  sex: string;
  avatar: string;
  status: string;
  loginIp: string;
  loginDate: string;
  remark: string;
  roleIds: Array<number>;
  postIds: Array<number>;
  roleId: number;
}

export interface ProfileVo {
  user: SysUserVo;
  roleGroup: string;
  postGroup: string;
}

export interface Oauth2Token {
  access_token: string;
}

export interface AvatarVo {
  imgUrl: string;
}

export interface UpdateProfileVo {
  userId: number;
  nickName?: string;
  email?: string;
  phonenumber?: string;
}
